package com.spooky.sync.persistence.entity;

public class Tag extends BaseEntity {
	public static final int MIN_NAME_LENGTH = 2;
	public static final int MAX_NAME_LENGTH = 20;
	private static Tag mTag = null;
	private String mName;

	public String getName() {
		return mName;
	}

	public void setName(String name) {
		mName = name;
	}

	@Override
	public String toString() {
		return mName;
	}

	public static Tag getEditorInstance() {
		if (mTag == null) {
			mTag = new Tag();
		}
		return mTag;
	}

	public static void clearEditInstance() {
		mTag = null;
	}
}
